Sample Experimental
Represents an audio sample.
export class Sample {
sample_rate: Int { get }
channel_count: Int { get }
frame_count: Int { get }
}
import { Sample } from audio_components
This class was introduced as experimental feature in Kontakt 8.9.
Constructor
None. This class cannot be instantiated directly. Use functions like get_sample_from_zone from the kontakt module to obtain instances of this class.
Properties
sample_rate: Int (get)
The sample rate of the audio sample in Hz.
channel_count: Int (get)
The number of channels in the audio sample.
frame_count: Int (get)
The number of frames (samples per channel) in the audio sample.